package com.hospital.exception;

/**
 * @author ysb——最帅的男人
 * @version 1.0
 * @date 2021/8/26 14:30
 */
public class BusinessException extends RuntimeException{
    private Integer code;
    private String msg;

    public BusinessException(Integer code, String msg) {
        super(msg);
        this.code = code;
        this.msg = msg;
    }

}
